package com.sun.dream.fish.service;

import com.sun.dream.fish.vo.ResultVO;
import com.sun.dream.fish.vo.back.MenuData;
import com.sun.dream.fish.vo.back.MenuVO;

import java.util.List;


public interface IMenuService {
    ResultVO addMenu(MenuVO menuVO);

    ResultVO<MenuData> listMenu();

    ResultVO<MenuData> listRoleMenu();

    ResultVO<MenuVO> getById(Integer id);

    ResultVO<MenuVO> deleteById(Integer id);

    ResultVO<MenuVO> updateById(MenuVO menuVO);
}